#include <stdlib.h>
#include <iostream>
#include "visit_file.h"

int main(int argc, char* argv[])
{
    vector<string> files;

    for (int i = 1; i < argc; i++)
    {
        cout << argv[i] << endl;
    }

    visit_file("E:\\", "*.*", &files);

    for (vector<string>::iterator it = files.begin(); it != files.end(); it++)
    {
        cout << &(*it->data()) << endl;
    }

    system("pause");
    return 0;
}